
<div class='content'>
    <div class="row-fluid">
        <div class="dialog">
            <div class="block">
                <p class="block-heading" style="text-align: center;">权限分配
                <?php echo Yii::app()->user->getFlash('login_user_info'); ?>
                </p>
                <div class="block-body">
                    <form class="form-horizontal" method='post' name='login_form' >
                        <div class="control-group">
                          <label class="control-label" for="inputEmail">角色列表</label>
                          <div class="controls">
                           <select name='role_id'>
                                <?php
                                    foreach($role_name as $vs)
                                    {
                                       echo "<option value=>{$vs['name']}</option>";
                                    }
                                  ?>
                              </select>
                          </div>
                        </div>
                        <div class="control-group">
                          <label class="control-label" for="inputPassword">控制器列表</label>
                          <div class="controls">
                           <select name='operate_name'>
                                <?php
                                    foreach($role_operate as $vs)
                                    {
                                       echo "<option value={$vs['description']}>{$vs['name']}</option>";
                                    }
                                  ?>
                              </select>
                          </div>
                        </div>
                        <div class="control-group">
                          <div class="controls">
                            <button type="submit" class="btn">设置</button>
                          </div>
                        </div>
                      </form>
                </div>
            </div>
            <!--<p><a href="reset-password.html">Forgot your password?</a></p>-->
        </div>
    </div>
</div>